package com.gxp.system.domain;

import com.gxp.common.annotation.Excel;
import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 【请填写功能名称】对象 zknj_sample
 * 
 * @author zh
 * @date 2024-08-06
 */
public class ZknjSample extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long samId;

    /** 名称 */
    @Excel(name = "名称")
    private String samName;

    /** 位置 */
    @Excel(name = "位置")
    private Long samSlot;

    /** 描述 */
    @Excel(name = "描述")
    private String samDes;

    /** 质量 */
    @Excel(name = "质量")
    private String quantity;

    /** 风险评估 */
    @Excel(name = "风险评估")
    private String risks;

    /** 分子式 */
    @Excel(name = "分子式")
    private String mFormula;

    /** 分子量 */
    @Excel(name = "分子量")
    private String mWeight;

    /** 溶剂 */
    @Excel(name = "溶剂")
    private String solvent;

    /** 是否优先 */
    @Excel(name = "是否优先")
    private String priority;

    private String modIds;

    private String serIds;

    private List<ZknjService> services;

    private List<ZknjMethod> methods;

    public void setSamId(Long samId) 
    {
        this.samId = samId;
    }

    public Long getSamId() 
    {
        return samId;
    }
    public void setSamName(String samName) 
    {
        this.samName = samName;
    }

    public String getSamName() 
    {
        return samName;
    }
    public void setSamSlot(Long samSlot) 
    {
        this.samSlot = samSlot;
    }

    public Long getSamSlot() 
    {
        return samSlot;
    }
    public void setSamDes(String samDes) 
    {
        this.samDes = samDes;
    }

    public String getSamDes() 
    {
        return samDes;
    }
    public void setQuantity(String quantity) 
    {
        this.quantity = quantity;
    }

    public String getQuantity() 
    {
        return quantity;
    }
    public void setRisks(String risks) 
    {
        this.risks = risks;
    }

    public String getRisks() 
    {
        return risks;
    }
    public void setmFormula(String mFormula) 
    {
        this.mFormula = mFormula;
    }

    public String getmFormula() 
    {
        return mFormula;
    }
    public void setmWeight(String mWeight) 
    {
        this.mWeight = mWeight;
    }

    public String getmWeight() 
    {
        return mWeight;
    }
    public void setSolvent(String solvent) 
    {
        this.solvent = solvent;
    }

    public String getSolvent() 
    {
        return solvent;
    }
    public void setPriority(String priority) 
    {
        this.priority = priority;
    }

    public String getPriority() 
    {
        return priority;
    }

    public String getModIds() {
        return modIds;
    }

    public void setModIds(String modIds) {
        this.modIds = modIds;
    }

    public String getSerIds() {
        return serIds;
    }

    public void setSerIds(String serIds) {
        this.serIds = serIds;
    }

    public List<ZknjService> getServices() {
        return services;
    }

    public void setServices(List<ZknjService> services) {
        this.services = services;
    }

    public List<ZknjMethod> getMethods() {
        return methods;
    }

    public void setMethods(List<ZknjMethod> methods) {
        this.methods = methods;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("samId", getSamId())
            .append("samName", getSamName())
            .append("samSlot", getSamSlot())
            .append("samDes", getSamDes())
            .append("quantity", getQuantity())
            .append("risks", getRisks())
            .append("mFormula", getmFormula())
            .append("mWeight", getmWeight())
            .append("solvent", getSolvent())
            .append("priority", getPriority())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("modIds", getModIds())
            .toString();
    }
}
